package com.run.motion.entity;

import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 动态图片对象 my_images
 * 
 * @author lyq
 * @date 2022-03-26
 */
public class Images
{

    /** 图片id */
    private Long imgId;

    /** 动态id */
    private Long mid;

    /** 图片地址 */
    private String url;

    /** 宽 */
    private Integer width;

    /** 高 */
    private Integer height;

    public Images() {
    }

    public Images(Long mid, String url, Integer width, Integer height) {
        this.mid = mid;
        this.url = url;
        this.width = width;
        this.height = height;
    }

    public void setImgId(Long imgId)
    {
        this.imgId = imgId;
    }

    public Long getImgId() 
    {
        return imgId;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setWidth(Integer width) 
    {
        this.width = width;
    }

    public Integer getWidth() 
    {
        return width;
    }
    public void setHeight(Integer height)
    {
        this.height = height;
    }

    public Integer getHeight()
    {
        return height;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imgId", getImgId())
            .append("mid", getMid())
            .append("url", getUrl())
            .append("width", getWidth())
            .append("height", getHeight())
            .toString();
    }
}
